﻿using Shop.RemoteModel.SpecTemplate.Model;

namespace Shop.Service.Interface
{
    public interface ISpecsTemplateService
    {
        Dictionary<long, int> SetSort (long id, int sort);
        long Add (SpecTemplateAdd datum);
        void Delete (long id);
        SpecTemplateDto Get (long id);
        SpecTemplateItem[] GetItems (long templateId, string query);
        SpecTemplateDto[] Gets (long templateId);
        bool Set (long id, SpecTemplateSet set);
        void SetIsEnable (long id, bool isEnable);
    }
}